package com.itheima.mall.service;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itheima.mall.pojo.Brand;
import com.itheima.mall.vo.PageResult;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


public interface PmsBrandService   {
    //添加品牌
    void create(Brand pmsBrand);

    //通过id删除品牌
    void deleteById(Integer id);

    //批量删除品牌
    void deleteByIds(Integer[] ids);
    //分页显示品牌
    PageResult brandList(String keyword, Integer pageNum, Integer pageSize);

    List<Brand> brandListAll();

    void updateFactoryStatusByIds(Integer factoryStatus, Integer[] ids);
    //批量更新显示状态
    void updateShowStatus(Integer[] ids, Integer showStatus);
    //更新品牌
    void updateBrandById(Integer id, Brand pmsBrandParam);

    Brand selectById(Integer id);


    
}
